package Test06;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintStream;

//字节打印流
public class Test32 {
    public static void main(String[] args) throws FileNotFoundException {

        PrintStream ps = new PrintStream(new FileOutputStream("D:\\工作\\src\\b.txt"));

        ps.println(97);
        ps.print(true);
        ps.printf("%s爱上了%s", "阿珍", "阿强");
        ps.println();
        ps.printf("%s爱上了%s", "阿珍", "阿强");

        ps.close();
    }
}
